<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
    <title>JSF 2.0 Hello World</title>
</h:head>
<h:body>
    <h:form>
        <ui:composition>

            <h1>regis</h1>
            <h:panelGrid>
                <h:outputText value="введите name"/>
                <h:inputText value="#{operationToUser.writeFirstName}"/>
                <h:outputText value="введите lastname"/>
                <h:inputSecret value="#{operationToUser.writeLastName}"/>
                <h:outputText value="введите login"/>
                <h:inputText value="#{operationToUser.writeLogin}"/>
                <h:outputText value="введите password"/>
                <h:inputSecret value="#{operationToUser.writePassword}"/>
                <h:commandButton value="vvod" action="#{operationToUser.addMapUser}"/>


                <h:commandButton title="insert" value="insert" action="#{operationToUser.insert}"/>

            </h:panelGrid>

        </ui:composition>
    </h:form>
</h:body>
</html>